package com.sunshine.order.server.utils;

import com.sunshine.order.server.vo.ResultVO;

/**
 * @author WeiHong
 * @date 2019/8/5 11:05
 */
public class ResultVoUtil {

    public static ResultVO success(Object object) {
        ResultVO resultVO = new ResultVO();
        resultVO.setCode(0);
        resultVO.setMsg("成功");
        resultVO.setData(object);
        return resultVO;
    }
}
